package com.lovo.ssc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 总库存商品表
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysGoods2 extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 一类商品的编号
     */
    private String code;

    @TableField("stockNum")
    private Integer stockNum;

    @TableField("sellPrice")
    private Float sellPrice;

    private String specs;

    private String type;

    @TableField("goodsName")
    private String goodsName;

    private Integer scope;

    @TableField("aveInPrice")
    private Float aveInPrice;

    private String state="未定价";


}
